import request from '../../request/request.js'

//获取个人信息
export function findOneLoginUser(uid){
    return request({
        url:'/admin/admin/findOneLoginUser',
        method:'get',
        params:{
            uid:uid
        }
    })
}
//修改个人信息
export function updateLoginUser(data){
    return request({
        url:'/admin/admin/updateLoginUser',
        method:'post',
        data
    })
}
//修改密码
export function upAdminPassword(data){
    return request({
        url:'/admin/admin/updateLoginPassword',
        method:'post',
        data
    })
}